
    <?php $this->load->view('datan/chart_header');?>
    <link href="<?php echo URLPRE;?>static/admin/css/admin_full.css" rel="stylesheet" />
    <link href="<?php echo URLPRE;?>static/admin/css/font_icon.css" rel="stylesheet" />
    <script type="text/javascript" src="<?php echo URLPRE;?>static/public/Lib/Kalendajs/build/kalendae.standalone.js"></script>
    <link href="<?php echo URLPRE;?>static/public/Lib/Kalendajs/build/kalendae.css" rel="stylesheet" />
    <style>
        .input{ height: 27px;}
    </style>

    <div style="margin-top: 30px; font-size: large;font-weight: 600; color: #010101;">线路订单量排名详情</div>
    <form method="post" action="<?php echo $index_url;?>">
    <div class="table_list" id="content">

    <table width="100%"  >
        <tbody>
            <tr>
                <td>
                    <input type="text" value="<?php echo $condition['startdate']?>" placeholder="发团日期" class="input rounded" name="start_date" id="Kalendae1" />~
                    <input type="text" value="<?php echo $condition['enddate']?>" placeholder="发团日期" class="input rounded" name="end_date" id="Kalendae2" /> &nbsp;&nbsp;
                    <input type="submit" class="btn" value="搜索"></td>
                </td>
            </tr>
        </tbody>
    </table>
        <table width="100%" class="table_list">
            <thead>
            <tr>
                <td>排名</td>
                <td>订单量</td>
                <td>线路名称</td>
            </tr>
            </thead>
            <tbody>
            <?php foreach($list as $key=>$val):?>

                <tr>
                    <td><?php echo $key+1;?></td>
                    <td><?php echo $val['num'];?></td>
                    <td><a target="_blank" href="<?php echo site_url('/xianlu/'.$val['line_id'].'.html')?>"><?php echo $val['line_name'];?></a></td>
                </tr>
            <?php endforeach;?>
            </tbody>
        </table>

    </div>
    </form>



    <?php $this->load->view('datan/chart_footer');?>
    <script type="text/javascript">
        var kal_dae1 = new Kalendae.Input('Kalendae1', {
            months:1,
            mode:'single',
            format:'YYYY-MM-DD'
        });
        var kal_dae2 = new Kalendae.Input('Kalendae2', {
            months:1,
            mode:'single',
            format:'YYYY-MM-DD'
        });
    </script>
